package qz_rpt;

import java.math.BigDecimal;

/**
 * @ProjectName: qz_rpt
 * @ClassName: qz_rpt.DataUtil
 * @Author: Ivan
 * @Date: 2019-09-20 16:10
 * @Version 1.0
 */
public class DataUtil {

	public static Double saveOneBitTwoRound(Double d) {
		BigDecimal bd = new BigDecimal(d);
		Double res = bd.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue();
		return res;
	}
}